

<template>
  <el-config-provider :size="size">
    <div id="app">
      <router-view></router-view>
    </div>
  </el-config-provider>

</template>

<script lang="ts">
import { computed } from 'vue'
import { useStore } from '@/store'
export default {
  setup() {
    const store = useStore()
    const size = computed(() => store.state.app.size)
    console.log(size, 'size1111111');
    return {
      size
    }
  }

}
</script>